package com.mobimap.nhom9.dto;

public class StreetSegmentDTO {
	private NodeInfoDTO startPoint;
	private NodeInfoDTO endPoint;
	private boolean twoWay;
	private int streetId;
	private int order;

	public StreetSegmentDTO() {
	}

	public StreetSegmentDTO(NodeInfoDTO startPoint, NodeInfoDTO endPoint,
			boolean twoWay, int streetId, int order) {
		this.startPoint = startPoint;
		this.endPoint = endPoint;
		this.twoWay = twoWay;
		this.streetId = streetId;
		this.order = order;
	}

	public NodeInfoDTO getStartPoint() {
		return startPoint;
	}

	public void setStartPoint(NodeInfoDTO startPoint) {
		this.startPoint = startPoint;
	}

	public NodeInfoDTO getEndPoint() {
		return endPoint;
	}

	public void setEndPoint(NodeInfoDTO endPoint) {
		this.endPoint = endPoint;
	}

	public boolean isTwoWay() {
		return twoWay;
	}

	public void setTwoWay(boolean twoWay) {
		this.twoWay = twoWay;
	}

	public int getStreetId() {
		return streetId;
	}

	public void setStreetId(int streetId) {
		this.streetId = streetId;
	}

	public int getOrder() {
		return order;
	}

	public void setOrder(int order) {
		this.order = order;
	}

}
